from django.db import models

class Article(models.Model):
    title = models.CharField(max_length=32,default='Title')
    content = models.TextField(null=True)

    #在admin表的标题里返回标题的值
    def __str__(self):
        return self.title
